export default function noRepeat(arr) {
    var newArr = [];
    for(var i = 0, hash = {}, len = arr.length; i < len; i ++){
        if(!hash[arr[i]]){
            hash[arr[i]] = 1;
            newArr[newArr.length] = arr[i];
        }
    }
    return newArr;
}